package znbkListXtfx.paperAssemblyRecordInfo;

import android.util.Log;

import com.lancoo.rxretrofitlibrary.Api.BaseApi;
import com.lancoo.rxretrofitlibrary.Api.UserInfo;
import com.lancoo.rxretrofitlibrary.listener.HttpOnNextListener;
import com.trello.rxlifecycle.components.support.RxFragment;

import retrofit2.Retrofit;
import rx.Observable;

/**
 * Created by Administrator on 2018\4\20 0020.
 */

public class PaperAssemblyRecordApi extends BaseApi {

    public PaperAssemblyRecordApi(HttpOnNextListener listener, RxFragment rxFragment) {
        super(listener, rxFragment);
    }

    @Override
    public Observable getObservable(Retrofit retrofit) {
        GetServer getServer = retrofit.create(GetServer.class);
        return getServer.getPaperAssemblyRecordInfo(UserInfo.StuId,
                UserInfo.SubjectId, UserInfo.StageNo);
    }
}
